Logic Program Schemas, Constraints, and Semi-unification
نویسندگان
چکیده
Program schemas are known to be useful in diierent applications such as program synthesis, transformation, analysis, debugging, teaching : : : This paper tackles two complementary aspects of program schemas. We rst propose a language for the description of program schemas. It is based on a subset of second-order logic, enhanced with constraints and speciic features of program schemas. One of the basic operations on schemas is the semi-uniication of a schema with a program. We then express the semi-uniication process over schemas as rewriting and reduction rules, using CLP techniques, where constraints are used to guide the semi-uniication process.
منابع مشابه
Logic Program Schemas, Constraints and Semi-Uni cation
Program schemas are known to be useful in di erent applications such as program synthesis, transformation, analysis, debugging, teaching : : :This paper tackles two complementary aspects of program schemas. We rst propose a language for the description of program schemas. It is based on a subset of second-order logic, enhanced with constraints and speci c features of program schemas. One of the...
متن کاملLogic Program Schemas, Semi-Uni cation and Constraints
The use of schemas is a classical way of synthesizing, transforming and analyzing logic programs. Operations on schemas are needed, in particular, the semi-uniication of schemas with programs. Since the schemas used in the paper are second-order objects, the related semi-uniication is the second-order semi-uniication, which is decidable but NP-complete. The non-determinism implied by the NP-com...
متن کاملWhat can Knowledge Representation do for Semi-Structured Data?
The problem of modeling semi-structured data is important in many application areas such as multimedia data management, biological databases, digital libraries, and data integration. Graph schemas (Buneman et al. 1997) have been proposed recently as a simple and elegant formalism for representing semistructured data. In this model, schemas are represented as graphs whose edges are labeled with ...
متن کاملFoundations of Data Warehouse Quality What can Knowledge Representation do for Semi-Structured Data?
The problem of modeling semi-structured data is important in many application areas such as multimedia data management, biological databases, digital libraries, and data integration. Graph schemas (Buneman et al. 1997) have been proposed recently as a simple and elegant formalism for representing semistructured data. In this model, schemas are represented as graphs whose edges are labeled with ...
متن کاملCorrect-Schema-Guided Synthesis of Steadfast Programs
It can be argued that for (semi-)automated software development, program schemas are indispensable, since they capture not only structured program design principles, but also domain knowledge, both of which are of crucial importance for hierarchical program synthesis. Most researchers represent schemas purely syntactically (as higher-order expressions). This means that the knowledge captured by...
متن کامل